import request from '@/utils/request'

// 获取信息
export const postUsser = (data) => {
  return request.post('/admin/user/my_info', {

  }
  )
}
// 修改个人信息
export const updataUser = (data) => {
  return request.post('/admin/user/save_myinfo', {
    mobile: data.mobile,
    username: data.username,
    avatar: data.avatar
  }
  )
}

// 修改个人密码
export const postUser = (data) => {
  return request.post('/admin/user/password', {
    old_password: data.old_password,
    new_password: data.new_password
  }
  )
}
